import http from '@/utils/http'
export const getGoodsListApi = ({ page, limit, ...data }) => {
  return http.get(`/goods/list/${page}/${limit}`, data)
}

export const getGoodsDetailsApi = (id) => {
  return http.get(`/goods/${id}`)
}
